package com.ruoyi.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.common.core.domain.BusinessSign;
import com.ruoyi.common.core.mapper.BusinessSignMapper;
import com.ruoyi.common.core.service.BaseServiceImpl;
import com.ruoyi.common.utils.DateUtils;
import org.springframework.stereotype.Service;
import java.util.Map;


/**
 * 业务签字
 * @date 2025-09-12
 */
@Service
public class BusinessSignServiceImpl  extends BaseServiceImpl<BusinessSignMapper, BusinessSign>
{

    public void selectPage(Page page, Map<String, Object> param) {
        baseMapper.selectPage(page, param);
    }

    public void doSave(BusinessSign businessSign)
    {
        businessSign.setCreateTime(DateUtils.getNowDate());
        businessSign.insertOrUpdate();
    }

    public void deleteById(String id)
    {
        baseMapper.deleteById(id);
    }

}
